package com.example.chatroom.model;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    // 注册
    int insert(User user);

    // 登录
    User selectUserByUsername(String username);
}
